package wsz.controller;

import core.anno.Controller;
import core.anno.RequestMapping;
import core.anno.RequestMethod;
import core.anno.Security;

/**
 * @author wsz
 * @date 2021/10/28 19:52
 **/
@Security(value = {"test"})
@Controller
@RequestMapping(value = "test")
public class TestController {

    @RequestMapping(value = "handle1", method = RequestMethod.GET)
    public String handle1(String userName) {
        System.out.println("userName=" + userName);
        return userName;
    }
}
